package GenericNRMSystem;
/**
 * Generated from IDL enum "DataRateType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class DataRateType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _CT_2M = 0;
	public static final DataRateType CT_2M = new DataRateType(_CT_2M);
	public static final int _CT_155M = 1;
	public static final DataRateType CT_155M = new DataRateType(_CT_155M);
	public int value()
	{
		return value;
	}
	public static DataRateType from_int(int value)
	{
		switch (value) {
			case _CT_2M: return CT_2M;
			case _CT_155M: return CT_155M;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _CT_2M: return "CT_2M";
			case _CT_155M: return "CT_155M";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected DataRateType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
